from django.contrib import admin
from .models import *

# Register your models here.


class MenuAdmin(admin.ModelAdmin):
    list_display = ('id', 'name',)


class PermissionAdmin(admin.ModelAdmin):
    list_display = ('id', 'name',)


class RoleAdmin(admin.ModelAdmin):
    list_display = ('id', 'name',)


class OrganizationAdmin(admin.ModelAdmin):
    list_display = ('id', 'name',)


class UserProfileModelAdmin(admin.ModelAdmin):
    list_display = ('id', 'username',)


admin.site.register(Menu, MenuAdmin)
admin.site.register(Permission, PermissionAdmin)
admin.site.register(Role, RoleAdmin)
admin.site.register(Organization, OrganizationAdmin)
admin.site.register(UserProfileModel, UserProfileModelAdmin)
